cmake_minimum_required (VERSION 3.23)
project ("HelloFmu")

add_compile_definitions ("UNICODE")
add_compile_options ("/source-charset:utf-8")
add_compile_options ("/execution-charset:utf-8")

include_directories (${PROJECT_SOURCE_DIR}/include)

include (GNUInstallDirs)
set (CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR})
set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR})
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_BINDIR})

add_subdirectory (fmu)
add_subdirectory (simulator)
